package com.htao.train.batch.job;

import org.quartz.DisallowConcurrentExecution;
import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;

/**
 * @Author： HTTT
 * @Date： 2024/1/8 21:53
 * @Describe：
 */
@DisallowConcurrentExecution //禁止并发
public class TestJob implements Job {

    @Override
    public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
        System.out.println("test job");
    }
}
